package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.CarouselInfo;
import com.danskin.wechat.util.Page;

public interface CarouselInfoDao {

	List<CarouselInfo> listPageCarouselInfoList(Page page);

	void deleteCarouselInfo(String id);

	void saveCarouselInfoModel(CarouselInfo carouselInfo);

	CarouselInfo findCarouselInfobyId(String id);

	void updateCarouselInfo(CarouselInfo carouselInfo);

	List<CarouselInfo> queryCarouselInfoImg(@Param("appId")String appId);

	List<CarouselInfo> queryCarouselInfoBySort(@Param("sort")String sort,@Param("mpId")int mpId);

}
